﻿
using Microsoft.AspNetCore.Builder;

namespace XBD.MyWeb
{
    internal class Program
    {

        static void Main(string[] args)
        {

            //var app = WebApplication.Create(args);

            //app.MapGet("/", () => "Hello World!");

            //app.Run();
            //var builder = WebApplication.CreateBuilder(args);
            //var app = builder.Build();

            //app.MapGet("/", () => "Hello World!");

            //app.Run();

            var app = WebApplication.Create(args);

            app.MapGet("/", () => "Hello World!");

            app.Run("http://localhost:3000");
        }
    }
}
